package com.cz.video.system.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cz.video.common.core.domain.entity.SysSensitiveWord;
import com.cz.video.common.core.domain.vo.SysSensitiveWordVo;
import com.cz.video.common.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 敏感词过滤表 Mapper 接口
 * </p>
 *
 * @author 陈智
 * @since 2023-07-19
 */
public interface SysSensitiveWordMapper extends BaseMapperPlus<SysSensitiveWordMapper,SysSensitiveWord, SysSensitiveWordVo> {



    Page<SysSensitiveWordVo> selectPageList(@Param("page") Page<Object> page, @Param(Constants.WRAPPER) Wrapper<SysSensitiveWord> buildQueryWrapper);

    int updateStatus(@Param("id") Long id, @Param("status") String status);
}
